<template>
  <div id="app">
    <!-- 路由出口 -->
    <keep-alive>
      <router-view v-if="$route.meta.isKeepAlive" />
    </keep-alive>
    <router-view v-if="!$route.meta.isKeepAlive" />
  </div>
</template>

<style lang="scss" scoped>
$color: skyblue;
#app {
  .btn {
    background-color: $color;
    width: 200px;
    height: 200px;
  }
}
</style>
